#define MAX_BUFFER_SIZE 1024
//#define Max_fd 100

struct Free_list { // Used for accessing the Free_Blocks
	unsigned int block_num;
	char *free_list;
	
};
struct file_descriptor { // contains info about all file descriotors present in the file system.
	char File_name[30];
	char Absolute_path[50];
	char File_type[5];
	long int File_size;
	int Location_block_number;

};

struct Main_header { // contains information about our VFS_File_System
	char vf_File_Label[30];
	int  Max_fd; // at max 100 fd's
	int  fd_in_use; //no of fd's in use
	struct file_descriptor *fd_arr; 
	int *free_space;

};


struct Block {
	char Fixed_Block_size[MAX_BUFFER_SIZE]; // used as buffer for file transfer..
};

extern struct Main_header MAN; // global variable for mainheader
extern struct file_descriptor FDESC;
extern struct file_descriptor *fdesc[100];// global variable for filedescriptor
extern struct Block BLOCK; // global variable for block
extern FILE *vfptr;
extern int Used_fd;
//extern struct file_descriptor fdes[100];




